Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't call ticker.Reset #1162

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Don't call ticker.Reset #1162

merged 1 commit into from
Jan 26, 2024

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Jan 26, 2024

Tickers are periodic: https://pkg.go.dev/time#NewTicker

The ticker will adjust the time interval or drop ticks to make up for slow receivers

Tickers are periodic: https://pkg.go.dev/time#NewTicker

> The ticker will adjust the time interval or drop ticks to make up for slow receivers
@serprex serprex requested a review from iskakaushik January 26, 2024 14:13
@serprex serprex merged commit 9d4065b into main Jan 26, 2024
7 checks passed
@serprex serprex deleted the no-ticker-reset branch January 26, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants